package Computer;

public class Client6 {
    public static void main(String[] args) {
        ComputerBuilder cb;
        cb=new Notebook();
        ComputerAssembleDirector ca=new ComputerAssembleDirector();
        Computer computer;
        computer=ca.assemble(cb);

        System.out.println("CPU:"+computer.getCpu());
        System.out.println("RAM:"+computer.getRam());
        System.out.println("Harddisk:"+computer.getHarddisk());
        System.out.println("Mainframe:"+computer.getMainframe());
        System.out.println("Monitor:"+computer.getMonitor());

    }
}
